package campus.aiit.ssl.config;

import com.github.pagehelper.PageInterceptor;
import org.apache.ibatis.session.Configuration;
import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;

@org.springframework.context.annotation.Configuration
public class MyBatisConfig implements ConfigurationCustomizer {
  @Override
  public void customize(Configuration configuration) {
    configuration.addInterceptor(new PageInterceptor());
//    configuration.addInterceptor(new UserInterceptor());
  }
}